<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="/WEB-INF/templates/default.xhtml">
	<ui:define name="content">
		<h:form>

			<h:panelGrid columns="2">
				<h:outputLabel value="Tytul: " />
				<h:inputText value="#{myAction.project.title}" />
				<h:outputLabel value="PodTytul: " />
				<h:inputText value="#{myAction.project.subtitle}" />

			</h:panelGrid>
			<div>
				<rich:editor value="#{myAction.project.describe}"></rich:editor>
			</div>
			<div>
				<a4j:commandButton value="Say Hello" action="#{myAction.addProject}" />
			</div>
		</h:form>

	</ui:define>
</ui:composition>
